package week2.validator_ex;

/**
 * Created by Xun on 2017/9/20.
 */
public class Test {
    public static void main(String[] args) {
       Authenticator au= AuthenticatorFactory.createAuthenticator();
       au.save("ffx","123456");
       System.out.print(au.authenticate("ffx","123456"));
    }
}
